package com.jintian.smart.kernel.flowable.domain.model;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.fasterxml.jackson.annotation.JsonAlias;

import com.jintian.smart.kernel.core.flow.IActivity;
import lombok.Data;

@Data
public class ActivityImpl implements IActivity {
	private String formUrl;
	private String name;
	private List<FlowRuleImpl> flowRules = new ArrayList<>();
	private List<ExecuteRuleImpl> executeRules = new ArrayList<>();
	private List<TransformRuleImpl> transformRules = new ArrayList<>();
	private List<Object> bizRules = new ArrayList<>();
	@JsonAlias({ "taskVariables", "taskAttributes" })
	private Map<String, String> taskAttributes = new HashMap<>();

}
